﻿{$header}
<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">编辑联系人 [ <a href="__APP__/Supplier/edit/id/{$vo.supplier_id}">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >

<tr>
	<td>公司：</td>
	<td>{$vo.supplier_id|getModelName='Supplier'}
    </td>
</tr>
<tr>
	<td>姓名：</td>
	<td>
            <input type="text" name="name" value="{$vo.name}" class="large">
        </td>
</tr>
<tr>
	<td>职位：</td>
	<td>
            <input type="text"  class="large"  name="title" value="{$vo.title}" />
        </td>
</tr>
<tr>
	<td>部门：</td>
	<td>
    	<input type="text"  class="large"  name="dept" value="{$vo.dept}" />
    </td>
</tr>
<tr>
	<td>手机：</td>
	<td>
            <input type="text"  class="large"  name="mobile" value="{$vo.mobile}" />
    </td>
</tr>
<tr>
	<td >QQ</td>
	<td >
            <input type="text"  name="qq" value="{$vo.qq}" />
        </td>
</tr>
<tr>
	<td >电话：</td>
	<td >
            <input type="text"  class="large"  name="phone" value="{$vo.phone}" />
        </td>
</tr>
<tr>
	<td >传真：</td>
	<td >
            <input type="text"  name="fax" value="{$vo.fax}" />
        </td>
</tr>
<tr>
	<td >email：</td>
	<td >
            <input type="text"  name="email" value="{$vo.email}" />
        </td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft">
		<SELECT class="small bLeft"  name="status">
			<option
				<eq name="vo.status" value="1" >selected</eq>
				value="1">启用
			</option>
			<option <eq name="vo.status" value="0" >selected</eq>
			value="0">禁用
		</option>
	</SELECT></td>
</tr>

<tr>
	<td></td>
	<td class="center">
		<input type="hidden" value="{:time()}" name="update_time">
        <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>
</table>
</form>
</div>
</div>
